# -*- encoding: utf-8 -*-
'''
@File    :   main.py
@Time    :   2025-10-29 23:51:13
@Author  :   simon
@Version :   1.0
@Contact :   yonglonggeng@163.com
@License :   (C)Copyright 1994-2024, Liugroup-NLPR-CASIA
@Desc    :   这是一个基于FastAPI的后台管理系统
@WeChat  :   Herbert·Simon
'''

# here put the import lib
from fastapi import FastAPI


from api.deps import app_routers
app = FastAPI(
    title='ChatBot API Docs',
    description='Chatbot > agent & LLM & MCP',
    version='1.0.0',
    docs_url='/docs',
    redoc_url='/redocs',
)

app.include_router(app_routers)  # api version one

if __name__ == '__main__':
    import uvicorn

    uvicorn.run('main:app', host='0.0.0.0', port=8000, reload=True, workers=3)
